package es.cazadoresmadridejos.beans.controller.reason;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

import es.cazadoresmadridejos.model.Reason;

@Controller
public class ReasonProfileController {

	@RequestMapping("/reasonProfile.html")
	public ModelAndView profile(
			@RequestParam("reason")Reason reason
			){
		ModelAndView mv = new ModelAndView();
		
		mv.addObject("reason", reason);
		
		return mv;
	}
}
